How Artificial Photosynthesis Works To Generate Energy